#
# Copyright 2002,2004 The Apache Software Foundation.
# 
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#      http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# $Log$
# Revision 1.5  2004/09/08 13:56:43  peiyongz
# Apache License Version 2.0
#
# Revision 1.4  2004/07/09 16:26:22  peiyongz
# Build on HP-Itanium, aCC A.05.52
#
# Revision 1.3  2004/03/15 17:06:06  amassari
# - Added support for MinGW (bug#23176)
#
# Revision 1.2  2002/08/21 19:44:17  tng
# [Bug 6467] Installing Xerces C++ on cygwin environment.
#
# Revision 1.1  2002/08/19 18:35:56  tng
# [Bug 6467] Installing Xerces C++ on cygwin environment.
#
#

PLATFORM = @platform@
CC  = @cc@
CXX = @cxx@
CXXVER = @cxxver@
GCC = @GCC@
GXX = @GXX@
CXXFLAGS = @cxxflags@
CFLAGS = @cflags@
PREFIX = @prefix@
PREFIX_INCLUDE = @prefix_include@
LDFLAGS = @ldflags@
LIBS = @libs@
OSVER = @osver@
USELIBWWW = @uselibwww@
MESSAGELOADER = @messageloader@
TRANSCODER = @transcoder@
THREADS = @threads@

MODULE = util

include ../../../Makefile.incl

SUBMODULE = Platforms/Win32
CXXFLAGS += -D_GNU_SOURCE -D__USE_GNU
ifeq (${PLATFORM}, CYGWIN)
    CXXFLAGS += -D__CYGWIN__
endif
ifeq (${PLATFORM}, MINGW)
    CXXFLAGS += -D__MINGW__
endif
CPP_PUBHEADERS = Win32Defs.hpp
CPP_OBJECTS = Win32PlatformUtils.$(TO)

include ../../Makefile.util.submodule
